lcDrwAddPntStyle Home

Adds a new point style into a drawing.

 HANDLE lcDrwAddPntStyle (
   HANDLE hDrw,
   LPCWSTR szName,
   HANDLE hBlock,
   double BlockScale,
   HANDLE hTStyle,
   double TextHeight,
   double TextWidth
 );

Parameters
hDrw
  Handle to a drawing object.
szName
  Point style name. Must be different from exist point styles.
hBlock
  Handle to a block that are used for point shape.
BlockScale
  Defines a size of a point shape.
hTStyle
  Handle to a text style that are used for point annotation.
TextHeight
  Height of characters in a point.
TextWidth
  Horizontal scale (width factor) of characters in a point annotation.

Return Value

  Handle to a new point style.
If the function fails, the return value is NULL.